package edu.wayne.cs.csc4110.hw6.interfaces;

import java.util.List;

import edu.wayne.cs.csc4110.hw6.interfaces.user.User;

public interface Authentication {

	/**
	 * Gets all users that have a saved state
	 * 
	 * @return a list of users
	 */
	public List<User> getUsers();

	/**
	 * 
	 * @param username
	 * @return The user created from login
	 */
	public User login(String username);

	/**
	 * Checks if the user is logged into the server
	 * 
	 * @param username
	 *            the username to check thats logged in
	 * @return true if user is already logged in, false otherwise
	 */
	public boolean isLoggedIn(String username);
}
